package com.asktgapp.user.activity;

import android.content.Context;
import android.content.Intent;
import android.support.v4.app.Fragment;

import com.asktgapp.JGTool.Utils;
import com.asktgapp.application.MyApplication;
import com.asktgapp.base.BaseFragmentActivity;
import com.asktgapp.user.fragment.FreeAskAnswerDetailFragment;
import com.asktgapp.user.fragment.FreeAskCommentFragment;

/**
 * 2018-7-21 21:14:20
 * Description:快速问答及问答专区 问答详情页面
 */

public class FreeAskAnswerDetailActivity extends BaseFragmentActivity {
    @Override
    protected Fragment getFragment() {
        return new FreeAskAnswerDetailFragment();
    }

    @Override
    protected String getToolbarTitle() {
        return "";
    }

    public static void startFreeAskAnswerDetailActivty(String id, Context context){
        Intent intent = new Intent(context, FreeAskAnswerDetailActivity.class);
        intent.putExtra("id", id);
        intent.putExtra("deviceId", Utils.getDeviceId(MyApplication.getInstance()));
        context.startActivity(intent);
    }
}
